#include <stdlib.h>
#include "maquinaVirtual.h"
#include "io.h"

int main(int argc, char *argv[])
{
	switch (argc)
	{
		case 5:
			modoDebug = FALSE; //Sem modo debug
			break;
		case 6:
			modoDebug = TRUE; //Com modo debug
			break;
		default:
			imprimeErroParametros();
		}
	inicializaMaquinaVitual(argv[1], argv[2], (unsigned) atoi(argv[3]), (unsigned) atoi(argv[4]));
	return 0;
}
